package com.gun.management.module.raffle.web.config;

import com.gun.management.framework.swagger.config.ManagementSwaggerAutoConfiguration;
import org.springdoc.core.models.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * raffle 模块的 web 组件的 Configuration
 *
 * @author 芋道源码
 */
@Configuration(proxyBeanMethods = false)
public class RaffleWebConfiguration {

    /**
     * raffle 模块的 API 分组
     */
    @Bean
    public GroupedOpenApi raffleGroupedOpenApi() {
        return ManagementSwaggerAutoConfiguration.buildGroupedOpenApi("raffle");
    }

}
